home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Paradise in the Skirt
/
Paradise in the Skirt.iso
/
dept21.dir
/
00069_Script_Man
< prev
next >
Wrap
Text File
|
1994-11-11
|
8KB
|
227 lines
global gBlockList,gGirlList,gEntranceList,totalHpoint,moveV,moveH,RmoveH,RmoveV,stepNo,manH,manV,raderH,raderV,gMovieList,movieNo,movieName
on moveMan direction
put stepNo + 1 into stepNo
if direction = 8 then
put 0 into moveH
put -9 into moveV
put 0 into RmoveH
put -72 into RmoveV
put 19 into startCast
put 22 into endCast
else if direction = 2 then
put 0 into moveH
put 9 into moveV
put 0 into RmoveH
put 72 into RmoveV
put 15 into startCast
put 18 into endCast
else if direction = 4 then
put -12 into moveH
put 0 into moveV
put -48 into RmoveH
put 0 into RmoveV
put 23 into startCast
put 26 into endCast
else if direction = 6 then
put 12 into moveH
put 0 into moveV
put 48 into RmoveH
put 0 into RmoveV
put 27 into startCast
put 30 into endCast
end if
IF NOT(THE CASTNUM OF SPRITE 13 = startCast) THEN
SET THE CASTNUM OF SPRITE 13 TO startCast
UPDATESTAGE
mMove girl1
mMove girl2
EXIT
END IF
if direction = 2 then
repeat with spno in gEntranceList
if sprite 14 intersects spno then
if spno = 29 then
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "D2"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "D3"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "D4"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "D1"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "D2"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "D3"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "D4"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + 9
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO THE NUMBER OF CAST "D1"
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + 12
UPDATESTAGE
put 393 into manH
put 155 into manV
put 385 into raderH
put 146 into raderV
play done
exit
end if
end if
end repeat
end if
if direction = 8 then
repeat with spno in gEntranceList
if sprite 14 intersects spno then
if spno = 34 then
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 5
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 5
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 5
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 10
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 15
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 20
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 20
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 20
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 20
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 20
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 20
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 20
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 20
UPDATESTAGE
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 - 20
UPDATESTAGE
put 393 into manH
put 155 into manV
put 385 into raderH
put 146 into raderV
play movie "DEPT22.DIR"
end if
end if
end repeat
end if
set the locH of sprite 14 = the locH of sprite 14 + RmoveH
set the locV of sprite 14 = the locV of sprite 14 + RmoveV
updateStage
if stepNo >= 5 then
repeat with spno in gGirlList
if sprite 14 intersects spno then
if random(20) = 2 then
go to marker(1)
nanpa
set the locH of sprite 14 = the locH of sprite 14 - RmoveH
set the locV of sprite 14 = the locV of sprite 14 - RmoveV
exit
end if
put getaProp(gMovieList,spno) into movieNo
put item 1 of line movieNo of the text of cast "CommentList" into Hpoint
SET THE LOCH OF SPRITE 14 TO THE LOCH OF SPRITE 14 - RmoveH
set the locV of sprite 14 to the locV of sprite 14 - RmoveV
puppetSprite 48, False
updateStage
sound stop 1
put "D" into movieName
playQTMovie
put value(Hpoint) into thisHpoint
if thisHpoint > 0 then
set the text of cast "Comment" to "H.Point +"&Hpoint
else
put abs(thisHpoint) into Hpoint
set the text of cast "Comment" to "H.Point -"&Hpoint
end if
put totalHpoint + thisHpoint into totalHpoint
put totalHpoint into field "Hpoint"
put 0 into stepNo
EXIT
END IF
END REPEAT
end if
repeat with spno in gBlockList
if sprite 14 intersects spno then
SET THE LOCV OF SPRITE 14 TO THE LOCV OF SPRITE 14 - RmoveV
set the locH of sprite 14 to the locH of sprite 14 - RmoveH
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 1
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 2
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 3
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast
UPDATESTAGE
mMove girl1
mMove girl2
EXIT
end if
end repeat
IF NOT(SPRITE 14 WITHIN 3) THEN
SET THE LOCH OF SPRITE 14 TO THE LOCH OF SPRITE 14 - RmoveH
set the locV of sprite 14 to the locV of sprite 14 - RmoveV
SET THE CASTNUM OF SPRITE 13 TO startCast + 1
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 2
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 3
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 1
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 2
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 3
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast
UPDATESTAGE
mMove girl1
mMove girl2
ELSE
if direction = 8 or direction = 2 then
put 2 into step
else
put 1 into step
end if
repeat with i = 1 to step
SET THE CASTNUM OF SPRITE 13 TO startCast + 1
SET THE LOCH OF SPRITE 13 TO THE LOCH OF SPRITE 13 + moveH
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + moveV
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 2
SET THE LOCH OF SPRITE 13 TO THE LOCH OF SPRITE 13 + moveH
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + moveV
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast + 3
SET THE LOCH OF SPRITE 13 TO THE LOCH OF SPRITE 13 + moveH
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + moveV
UPDATESTAGE
SET THE CASTNUM OF SPRITE 13 TO startCast
SET THE LOCH OF SPRITE 13 TO THE LOCH OF SPRITE 13 + moveH
SET THE LOCV OF SPRITE 13 TO THE LOCV OF SPRITE 13 + moveV
UPDATESTAGE
end repeat
mMove girl1
mMove girl2
END IF
end